<?php /* Smarty version 2.6.26, created on 2012-05-12 14:39:47
         compiled from blocks%5Ccategory_level.tpl */ ?>
<!-- category level -->

<?php if ($this->_tpl_vars['categories']): ?>
	<ul <?php if ($this->_tpl_vars['first']): ?>class="first"<?php endif; ?><?php if ($this->_tpl_vars['postfix']): ?> lang="<?php echo $this->_tpl_vars['postfix']; ?>
"<?php endif; ?>>
		<?php $_from = $this->_tpl_vars['categories']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['catF'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['catF']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['cat']):
        $this->_foreach['catF']['iteration']++;
?>
			<?php if (! empty ( $this->_tpl_vars['cat']['Sub_cat'] ) || ( $this->_tpl_vars['cat']['Add'] == '1' && $this->_tpl_vars['listing_types'][$this->_tpl_vars['cat_type']]['Cat_custom_adding'] )): ?><?php $this->assign('sub_leval', true); ?><?php else: ?><?php $this->assign('sub_leval', false); ?><?php endif; ?>
			<li id="tree_cat_<?php echo $this->_tpl_vars['cat']['ID']; ?>
<?php if ($this->_tpl_vars['postfix']): ?>_<?php echo $this->_tpl_vars['postfix']; ?>
<?php endif; ?>" <?php if ($this->_tpl_vars['cat']['Lock']): ?>class="locked"<?php endif; ?>>
				<img <?php if (! $this->_tpl_vars['sub_leval']): ?>class="no_child"<?php endif; ?> src="<?php echo $this->_tpl_vars['rlTplBase']; ?>
img/blank.gif" alt="" />
				<label><input onclick="cat_chooser('<?php echo $this->_tpl_vars['cat']['ID']; ?>
');" type="radio" name="category_id" value="<?php echo $this->_tpl_vars['cat']['ID']; ?>
" /> <span><?php echo $this->_tpl_vars['cat']['name']; ?>
</span></label>
				<span class="tree_loader"></span>
			</li>
		<?php endforeach; endif; unset($_from); ?>
	</ul>
<?php endif; ?>

<!-- category level end -->